Use UIBezierPath instead of CGPath

Copy the appropriate draw properties onto the layer when setting the
bezier path