Fixed not being able to close the menu.

Bug created by me not proper cleaning up old code