Compatibility with HaxeFlixel/flixel#841