(menu) fixes menu not being properly hidden after loading/saving a state