Maya marking menu mania

has anybody else run into this?

I’ve got some scriptCtx tools which work fine… except when they follow somebody using the RMB menu to switch from object to face selection. It seems like the doMenuComponentSelection mel script puts Maya in this odd state where scriptContexts (at least) do not properly fire.

The workaround is to select the new tool twice (the ‘G’ hotkey works well for this) but I’d rather fix it if possible. Has anybody else dealt with this stupid thing?