Fix for mouse input in fullscreen mode