Chat window bugfix - init chat on first tab