fix overlay positions (#3621)

- Fix typo in overlay positioning code
- Make overlay positioning more robust

Release Notes:

- N/A
19e842b860Conrad Irwin committed on 12/13/2023, 5:13:56 AM· committed by GitHubparentse91ececa055a4c
1 file changedLine totals unavailable