Fix crash observed when going back to the room list.