fixed #2833: Correct a mistake for cc.Sprite

Correct a mistake for cc.Sprite