     // mask view
     let maskViewTapGesture = UITapGestureRecognizer(target: self, action: #selector(CustomizableActionSheet.maskViewWasTapped))
     self.maskView.addGestureRecognizer(maskViewTapGesture)
-    self.maskView.frame = screenBounds
+    self.maskView.frame = targetBounds
     self.maskView.backgroundColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.5)
     targetView.addSubview(self.maskView)
 

    // Save instance to reaction until closing this sheet
    CustomizableActionSheet.actionSheets.append(self)

    let screenBounds = UIScreen.main.bounds

    // Save closeBlock
    self.closeBlock = closeBlock

          let containerView = ActionSheetItemView(frame: CGRect(
            x: CustomizableActionSheet.kMarginSide,
            y: currentPosition,
            width: targetBounds.width - (CustomizableActionSheet.kMarginSide * 2),
            height: item.height))
          containerView.layer.cornerRadius = CustomizableActionSheet.kCornerRadius
          containerView.addSubview(view)
