I ran into the same problem but I couldn't use the Group Events method (I learned something new though!). I use the same code for buttons that are on or not on the pause menu, so I would end up either disabling all the buttons or none of them.
If anyone runs into this too, my workaround is to add the following conditions:
On touched <object>
AND <object> is visible
AND Layer <object.LayerName> is visible
This way, I don't have to be specific about what menu is showing or not (i.e. I can reuse the code in other projects.).
I added my two cents to so I'm hoping we don't have to deal with these types of workarounds in the future. (Argh, I just realized there's a place I missed adding this workaround.)