fix for html5 target issue when FlxText won't let you switch states in the game