Phantom key presses

The event test runs fine no double events, not even in the Virtual Machine.
The comment on git says it happens when the rendering takes some time, like it does in my case.
I guess the event test can do the event polling faster or something.

When I take everything out of the main loop except the event polling I get, no matter how long I press, only this: PRESS, RELEASE, RELEASE (one release too much).

When I keep the rendering, I get the longer I press the more alternating PRESS, RELEASE times X I get (multiple presses despite it’s only one long).