Fixes #166 https://github.com/DmitryBaranovskiy/g.raphael/issues/166