User command not working correctly

From a button, it runs without @runonce, and from a context menu, it doesn't even run with @runonce. Two surprises in one command, nice :smiley: