line_to won't crash now when drawing from/to same spot (#6900).