Cursor loses focus on <enter> after typing title

Screenplay template, document.

Type a heading, hit enter. The cursor loses focus and you can’t type. It should, IMO, go to the main body of the document.

If you type the heading and hit , it goes to the main body.