Check if maximized correctly when shifting panes