Bug corrected in Sprite()