Fix the library as also fixed upstream (https://github.com/bbecquet/Leaflet.PolylineOffset/pull/6)
Merge pull request #119 from sanderd17/master

Fix polyline offset behaviour in common cases