lottie/trim: fix regression, always modify the path in trim::update() call.