How to place polyline underneath point

I am drawing a polyline between two points as seen below, but I can’t figure out how to get the ends of the line under both points, it’s always over one of them to the middle of that point.

I’ve tried adjusting the height of the Cartesian3 of the points but it makes no difference.