Remove useless definition
Set fullscreen flag before the window size
Get back on desktop before destroy the window