Fix #1999: dash value of zero causes infinite loop
Merge pull request #1999 from mdboom/dashes-infinite-loop

Setting dashes to (0,0) results in infinite loop for agg backends