         
         presentingViewSnapshotView.transform = .identity
         presentingViewSnapshotView.translatesAutoresizingMaskIntoConstraints = false
-        NSLayoutConstraint.activate([
-            presentingViewSnapshotView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor),
-            presentingViewSnapshotView.centerYAnchor.constraint(equalTo: containerView.centerYAnchor)
-        ])
+        presentingViewSnapshotView.centerXAnchor.constraint(equalTo: containerView.centerXAnchor).isActive = true
         updateSnapshotViewAspectRatio()
         
         roundedViewForPresentingView.transform = .identity

    private let roundedViewForPresentedView = RoundedView()
    
	private var cachedContainerWidth: CGFloat = 0
    private var snapshotViewHeightConstraint: NSLayoutConstraint?
	private var snapshotViewAspectRatioConstraint: NSLayoutConstraint?
    
    private var presentedViewFrameObserver: NSKeyValueObservation?

        roundedViewForPresentingView.frame = initialFrame
        roundedViewForPresentingView.transform = CGAffineTransform(scaleX: scale, y: scale)
        
        snapshotViewTopConstraint?.isActive = false
        snapshotViewWidthConstraint?.isActive = false
        snapshotViewAspectRatioConstraint?.isActive = false
        presentingViewSnapshotView.translatesAutoresizingMaskIntoConstraints = true
        presentingViewSnapshotView.frame = initialFrame
