Use CAShapeLayer to draw the dots