Do not crash with large list of menu items #13