Sprite constructor fixed