fix for openfl 2 (autohaxe)