Fix for Haxe 2.11