performance improvement for contentScaleFactor fix in Sprite.draw