What version of PsychoPy and what type of computer are you using?
I thought this sounded somewhat familiar and indeed there are two previous posts that might be related to this but neither has a directly applicable solution:
My general suspicion is that it’s a resurgence of the issue in the first post having to do with the pyglet window, but I’m not sure. There’s no obvious reason for it otherwise. @jon might know more.