fix for FlxBar on flash target (issue #1051)