         // MARK: Lifecycle
         init() {
             super.init(frame: CGRect.zero)
-            finishInit()
+            completeInit()
         }
         required public init?(coder aDecoder: NSCoder) {
             super.init(coder: aDecoder)
-            finishInit()
-        }
-        private func finishInit() {
-            layer.masksToBounds = true
+            completeInit()
+        }
+        private func completeInit() {
             segmentMaskView.backgroundColor = .black
         }
     }

        }
        set {
            layer.cornerRadius = newValue
            indicatorView.cornerRadius = newValue - indicatorViewInset
            segmentViews.forEach { $0.layer.cornerRadius = indicatorView.cornerRadius }
        }
    }
    /// The indicator view's background color.

        return Int(distances.firstIndex(of: distances.min()!)!)
    }
    private func moveIndicatorView() {
        indicatorView.frame = normalSegments[index].frame
        layoutIfNeeded()
    }
    private func updateCornerRadii() {
        indicatorView.cornerRadius = cornerRadius - indicatorViewInset
        segmentViews.forEach { $0.layer.cornerRadius = indicatorView.cornerRadius }
    }
    
    // MARK: Action handlers
