Add getCroppedBounds.