Fix menu size when the group has >50 users. (see #10070)

Changes from #568 onto ```develop```