More changes to chat container to fix typing lag