Fixed chat issue. Still crashes when backing out of chat window