Update WindowMediator.as

when window is maximized, it should be stored the last window position, size instead of full screen size, otherwise, when the window relaunch and user click "restore" button on the top right corner, the window is still stayed as full screen size.