Fixed segfault when can't connect to server and  was not in room