Fixed crash when menu size less then maximum menu count for initial display