Fix for duplicated vertices in Stroke

Fix for the issue mentioned in
https://github.com/StarlingGraphics/Starling-Extension-Graphics/issues/89

In the case of two identical vertices in the stroke line, the math will
yeild a distance of 0, messing up the ensuing calculations, so I copy
the distance from the previous vertex for thickness calculations. It
seems to work ok.