fix two bugs in Sandbox menu: item weirdness and menu exit