Corrected bug on the menu window