Bug: Multiline TextEditor line start/end shortcut moves caret to line above

Hi,

As stated in subject line. Testing on macOS Monterey with latest develop. Can reproduce with Fonts demo. Originally thought it was contained to fractional Fonts, but testing in Fonts demo shows this occurring regardless of whether the size is fractional or not. Unfortunately not clear to me which commit broke this behaviour.

Steps to reproduce:
Open Fonts Demo
Place cursor on any line after the first.
Use CMD+left/right arrow.

Expected behaviour:
Caret is moved to start/end of same line respectively

Actual behaviour:
Caret is moved to start/end of line above, respectively.

Thanks,

That should be fixed here:

Looks good here. Thanks!