:bug: Fix typo leading to error in conditional context menu
:bug: Fix placement of the popup when editor content is small

Closes #1