Fixed errors in Sprite save