fix fullscreen & dialog