Fixed maxVisible for items and shop menus.