When trying to tab back to the game after being in another window, the menu cursor doesn’t respond until after the first click, but that first click is still accepted, which means that it’s very easy to click on something that wasn’t intentional, in my case, the self destruct button.
One possible solution would be to ignore the first click when not in focus.
Another would be to use the actual operating system mouse position for menus, and also not lock it to the window, so you always know what you’re clicking on.