fix #39231: Bad layout of straight chordlines