If you minimize initially maximized Window and restore it after that - the Window doesn't maximize back.
Also when show the Window and make the browser smaller this also doesn't shrink the Window but let it out of the application size and if the browser is resized and the window is restored after maximizing.