Fix potential segfault on config swap.

Main Menu list can shrink and selection_ptr wasn't set to a sane value.