fixed bug where game would slow after flicking through tabs