Recreate the chatbox if it's missing stuff

Apparently, someone ended up with a chatbox with no text entry. With no
useful errors other than it being nil, I'll just "fix" it like this.