Fixed #1615 Optimization performance for cc.Sprite

Optimization performance for cc.Sprite