Make cursor work in fullscreen mode