src/winmenu.c: updated prepare_menu_position