haxe3 + h3d fixes