fixes #570
Merge pull request #572 from andyperlitch/clip_path#570

fixes #570