Newmenus: Fix unsigned underflow on "end" variable