Armed to the Gears: Some patches in the beta section

Hi friends! Due to reports of a (apparently kind of rare and difficult to reproduce) bug in the headquarters menu where it was impossible to open the sub-menus, I have made some changes in the code and uploaded to the B…