Fixed: annoying bug where app's submenus were opened for no reason