canvas-animation: Add center path on centroid command.