Fix ScaleManager and Sprite.crop bugs.