Compatibility with HaxeFlixel/flixel#850