Stop stitching sooner.
Ic your seam allowance is 1/4 inch, stop stitching 1/4 inch from the end.
If your sesm allowance is 3/8 inch, sto stitching 3/8 inch from the end.
That 1/8 inch does make a difference.
Ic your stitch length forces you to choose between too close to the edge or npt quite close enough to be exact, stay further away