Fixed stack height thingy bug

bug that caused to tabs to be added to the chat and make both
malfunction got fixed.