Fixes #3036

See also #5149, #5191
Merge pull request #5307 from pavlos256/lobby-chat-scroll

Fixes #3036