PsychoPy: Cursor disappears after (accidental) keypress

I’m running an eye tracking experiment (coded in PsychoPy) in which participants are listening to a sentence and then click on one of the four scenes on the screen. The mouse cursor is positioned in the center at the start of each trial. In the middle of the experiment there is a break and the participant has to press the spacebar to proceed. However, if the participant presses the spacebar too long or twice, the cursor isn’t visible anymore for the remainder of the experiment.

Does anyone have any idea what is causing this and how I could solve this issue in the code?

Thank you!