fix exit fullscreen behavior