Prevent shift clicking and double clicking in menus