fixed flickering when changing mouse cursor in fullscreen mode