Bug fix: selected portal unselect if portal re-render

Preserve and restore "selectedPortal" between re-render