Got continuous line segment drawing working in PolygonTool