Performance fix for knob shadow to draw on a bezierpath