Prevents line from jumping between strokes