[Client] Fixed chat log problem

The problem that caused the chat log to freeze after the window got resized is fixed.