MacOS: Folded first line causes crash when title is changed

Testing version: MacOS 2.0 (11015)

What were you doing: Attempting to edit the title of a note with the first line folded

What feature did you use:

What happened: Bear crashed. When I toggled folding off for the first line, things worked normally.

What did you expect to happen: The title to be edited and the app not to crash