Image cut with haxe