Fix return type of Sprite.reset