         
         // BackgroundImage
         
-        cell.backgroundView = backgroundView(forBlock: block, inRect: frame)
+        cell.backgroundView = backgroundView(forBlock: block, inFrame: frame)
         
         // Appearance
         

        
        var queryItems = components.queryItems ?? [URLQueryItem]()
        
        let width = min(rect.width * block.backgroundScale, backgroundImage.size.width)
        let height = min(rect.height * block.backgroundScale, backgroundImage.size.height)
        let x = (backgroundImage.size.width - width) / 2
        let y = (backgroundImage.size.height - height) / 2
        
        func floatParam(_ float: CGFloat) -> String {
            let r = float.rounded()
            let i = Int(r)
            return i.description
        }
        
        let value = [
            floatParam(x),
            floatParam(y),
            floatParam(width),
            floatParam(height)
        ].joined(separator: ",")
        
        let rect = URLQueryItem(name: "rect", value: value)
        queryItems.append(rect)
        
        var deviceScale = block.backgroundScale
        
        if UIScreen.main.scale < block.backgroundScale {
            let scaledWidth = floatParam(width / block.backgroundScale * UIScreen.main.scale)
            let w = URLQueryItem(name: "w", value: scaledWidth)
            queryItems.append(w)
            
            let scaledHeight = floatParam(height / block.backgroundScale * UIScreen.main.scale)
            let h = URLQueryItem(name: "h", value: scaledHeight)
            queryItems.append(h)
            
            deviceScale = UIScreen.main.scale
        }
        
        components.queryItems = queryItems

        }
        
        let backgroundView = UIImageView()
        backgroundView.setBackgroundImage(url: url, contentMode: block.backgroundContentMode, scale: scale)
        return backgroundView
    }

