Fix display of menu for tabs