Correct fix for window.TabContextMenu.contextTab
(should finally fix #18)