The full screen flash was intentional, to let you know you successfully caught the red guy. But you're right, it also disables the spotlight mask and shows the red guy new position for one frame. Too fast for my eyes to notice, I suppose. If I had to code this game again, I would remove the flashing, as it's a bit unpleasant for the eyes.