copy flipX,flipY in Sprite.set method