Fix setting panes over existing panes, and setting a pane that was set before