Merge pull request #2822 from mbasaglia/offset-path-open

Properly handle offset path for open shapes