Fixes the scrolling bug in the chat content.