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

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

        scrollView.zoomScale = 1
    }
    
    private func resetScale() {
        scrollView.zoomScale = 1
    }
    
    private func notifyAboutCroppingParametersChange() {
        onCroppingParametersChange?(croppingParameters())
    }
