Fix render problem in chat