fix wx assertion in mapselect dialog (possible windows crash)