fixed #3501: Modify sprite's draw for better performance.

Modify sprite's draw for better performance.