Wrong Newline Behavior When Using Script Editor Folds Beta Feature

In the script editor, when trying to split a line of code or just move it down one line, the blinking cursor ends up at the end of the second line instead of being at beginning. This makes it impossible to move down multiple lines without repositioning the cursor.

Example:
1 a line we w|ant to split
2
3

Normal behavior:
1 a line we w
2 |ant to split
3

Current behavior:
1 a line we w
2 ant to split|
3