Obsidian jumps back to the Space / Workspace with its main window when closing a secondary window

this happens on windows too.

It’s related to: Closing a popout steals focus from other apps