 
     private func circleCenter(anchor: CGFloat, between: (startX: CGFloat, endX: CGFloat)) -> CGPoint {
         let pointX = anchor * frame.width
-        let x = max(between.startX, min(pointX, between.endX))
+        let x = max(between.startX + anchorRadius, min(pointX, between.endX - anchorRadius))
         let y = frame.height / 2
         return CGPoint(x: x, y: y)
     }

    override func draw(_ rect: CGRect) {
        super.draw(rect)

        guard let superview = superview else {
            return
        }

        frame = superview.bounds

        let selectedTrackImage = drawImage(color: selectedTrackColor)
        let unselectedTrackImage = drawImage(color: unselectedTrackColor)


            return nil
        }

        let offset = trackHeight / 2

        drawLine(inContext: context, between: (startX + offset, endX - offset), color: color)
        drawCircles(inContext: context, between: (startX, endX), color: color)

        return UIGraphicsGetImageFromCurrentImageContext()?
