Your issue comes from the other TC that defines a default chat channel.
It’s a timing issue. Your TC code navigated to the chat channel too early during page load, so chat can’t tell it apart from someone opening a chat link directly. And default behavior is to open in fullscreen.
I just added a setting to my TC (PR):
You can disable your TC, update mine, and give it a try!
