changed line tool so it doesnt recreate lines on mouse up - more consistent code