fix textZone with null inputText

this was likely broken by f4bb90f39ed10e834de6c7ee02f57cac8289b20d