Fixed the bug that caused the menu to not show.