Top Down Line Trace

I managed to correct the “going up” issue I think, by spliting the pins and making the start Z axis equal to the end Z axis, but now its a little off