bug fixes for fullscreen