Thank you! This solution works with closing the menu and reopening it again. I'm not actually using the default menu system.