Changed builtin/mainmenu.lua because of changes in get_textlist_index

Fixed lua error when none of the worlds or servers selected are and connect,
delete or configure buttons used.