Apply stroke color on current shape layer.
Apply alpha to cap images.
Set path on both layer and arc layer.
Changed z-order of caps.