replace Line.setPoint calls with a single call to setLine, see #68