Don't open a new menu on click when one is open

Makes the mod work more like the default UI, and is a lot less annoying.