explicit restore to MAX_MAXIMUS instead of empty flag at handleMaximize