Work around IE bug regarding paths with markers

Fixes #6.
Merge pull request #9 from nylen/fix-ie-markers

Work around IE bug regarding paths with markers