Fix issue with game grabbing mouse cursor from outside game.