Reset last pane properly when using break-pane as well, fixes a problem