correction of issue with relative coordinates

The reference point of relative coordinates is the last final point of a
path segment