Shift+enter shortcut creates unwanted paragraph

The shift+enter shortcut for panels creates an unwanted paragraph. When zoomed in, and the text editor not appearing, everything works fine. This is not the case when zooming out and hitting shift+enter with the text editor. See video attached below: