Compatibily with HaxeFlixel/flixel#840