hack not working - tool does not switch between drawing FREEHAND and draw STRAIGHTLINE
draw connected lines