InputText: Fixed multi-threading issues