fix frameless mode when fullscreen