We have to unmaximized here before remaximizing

Otherwise, the previously maximized pane layout overrides the  being tracking and messes up the layout to reset to when trying to unmaximize