Fixed compatibility issue with Haxe 3.1.0 and Lime 1.2.9