fixed a problem preventing the mouse from working on windows / SDL2
Merged code from WinUAE 2800