fixes for fullscreen toggle