     var cropAspectRatio = CGFloat(AspectRatio.defaultRatio.widthToHeightRatio()) {
         didSet {
             if cropAspectRatio != oldValue {
+                resetScale()
                 calculateFrames()
             }
         }

    
    func setImage(_ image: UIImage) {
        scrollView.imageView.image = image
        calculateFrames()
        notifyAboutCroppingParametersChange()
    }

        guard let image = scrollView.imageView.image, width > 0 && height > 0 else {
            return
        }
        
        // scale the image
        cropSize = CGSize(
