Fix serialization of input box while sending text