Fix the broken chatbox issue.