Added workaround for fullscreen window.