Fix more chat-related client crashes