Prevent selection of elements which are part of another menu group