Fixed scoping bug

In DashedDrawer.lineTo, the variable lineLength is named the same as the
method lineLength. This causes the call to the lineLength (which is NaN)
to throw a "value is not a function" error.