Restore from maximized state on Esc press