Fixes FlxTypeText for HTML5