Make sure we clean up after ourselves when destroying the menu.