fix line drawing, if line has one point