Fixed #5704: correct a mistake of cc.Sprite

Correct a mistake of cc.Sprite