Fix bug with pane-base-index window option