Fixed openfl compatibility