Don't use window.TabContextMenu.contextTab, if menu are closed
(fix #18)