fixing a OSX fullscreen problem