On macos (Catalina, at least), when right-clicking a macro button to bring up the macro editor, the UI system is left in an awkward state after the editor is closed. A context menu appears uncalled for, drop lists don’t work right, and drawing elements sometimes flash oddly. This happens when I’m using a trackpad, where “right button” is tapping with two fingers. I don’t have a mouse with a right button to test with, so can’t clarify that.
I suspect this is because you are using a “right button down” event rather than a “right button up” event to open the editor in its modal state, and since the button is no longer down when the editor closes the UI system becomes lost, thinking the right button is still down. Just a guess though.
The UI problems persist until the application is completely restarted. This continues to happen in the .24 release.