Cursor position lost after drag-and-dropping image to note

Steps to reproduce

  1. Create a note with multiple paragraphs.
  2. Drag and drop an image from Obsidian’s file browser at the end of the last paragraph.

Expected result

After the image is inserted, the cursor stays after the newly inserted note, at the end of the note.

Actual result

The cursor appears at the very beginning of the note.

Environment

  • Operating system: OSX 12.5.1
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.16.2
    Installer version: v0.15.6
    Operating system: Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 21.6.0
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: on
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: Minimal
    Snippets enabled: 1
    Restricted mode: off
    Plugins installed: 11
    Plugins enabled: 10
    1: Advanced Tables v0.17.3
    2: Calendar v1.5.10
    3: Find unlinked files and unresolved links v1.5.2
    4: Hotkeys++ v0.2.7
    5: Obsidian Git v1.27.1
    6: Minimal Theme Settings v5.3.2
    7: Style Settings v0.4.10
    8: Electron Window Tweaker v1.0.8
    9: Recent Files v1.3.3
    10: Image Caption v0.0.13

Additional information

See attached video. After releasing the mouse to drop the image on the note, I started typing.

Screen Recording 2022-09-05 at 09.06.02.mov.zip (2.4 MB)

thanks