bugfix: avoid "SDL Error (-1): The event system has been shut down" on (sdl2:quit)