Keep current pane path when creating a window or splitting a pane