Fixed a bug in the mini_menu