             return nil
         }
 
-        drawLine(inContext: context, between: (startX, endX), color: color)
+        let offset = trackHeight / 2
+
+        drawLine(inContext: context, between: (startX + offset, endX - offset), color: color)
         drawCircles(inContext: context, between: (startX, endX), color: color)
 
         return UIGraphicsGetImageFromCurrentImageContext()?


    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 y = frame.height / 2
        return CGPoint(x: x, y: y)
    }

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

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

