Fix: Animation with addShape

Added a condition to check animation duration == 0 for shapes.

if(self.animationDuration == 0.0f) self.shapeLayer.path = newPath;
else [self.shapeLayer animatePath:newPath];