         let oldCornerRadius = cornerRadius
         cornerRadius = 0
         
+        let oldBackgroundColor = backgroundColor
+        backgroundColor = .clear
+        
         let v = snapshotView(afterScreenUpdates: afterUpdates)!
         cornerRadius = oldCornerRadius
+        
+        backgroundColor = oldBackgroundColor
+        v.backgroundColor = oldBackgroundColor
         
         let contentView = v.subviews.first!
         contentView.cornerRadius = cornerRadius

open class MotionTransition: NSObject {
    open var isPresenting = false
    
    open var toViewController: UIViewController!
    
    open var fromViewController: UIViewController!

        
        let d = transitionDuration(using: transitionContext)
        
        if nil != backgroundView.backgroundColor {
            backgroundView.motion(.backgroundColor(.clear), .duration(d))
        }
        
        Motion.delay(d) { [weak self] in
