This is an annoying bug.
When I resize the windows into compact mode and chat with someone, that thread will be on the top.
But if we click outside (for example: click on desktop, or click on other windows) then click inside again, the focus will be on the 9th thread.
Can you please fix it soon?