Avoids CAShapeLayer path memory leak. Refs #16.