Fix path zone-close with three (or more) zones
Transforming a path with at least three zones used an incorrect zone start position in the third (and any subsequent) zone. This change updates the zone start position whenever a zone is closed, not just at the very start of the path.