Maximized/minimized state now saves