FIX #33: maximized not kept when exiting fullscreen