Fixed a bug in gameTabs._openTab.