Use scaleToFitInside: instead of the scale method.