fix for FlxBar on native targets