Clicking to edit text results in the caret being placed incorrectly.

I discovered a rather annoying issue when editing text. When the editing area is zoomed in, everything works as expected, but if I zoom out, when I left-click between two characters to place the caret (cursor) there, the caret position shifts one character to the right relative to the click location. I made short video demonstration of this effect. Double checked on two different PCs, win10.