Fixe for issue #9: when the active notebook pane is hidden, we remove it's optionActiveNotebook flag to avoid having two of them