center the line origin at the center of the origin node