I ended up creating a "do nothing" script, consisting of just a single comment line. If the shutter release is accidentally triggered, it still annoyingly causes any alt menu to close, but doesn't do any further damage. I wish the shutter release would simply be ignored in alt mode if one hasn't loaded a script.