Fix text and inputtext sizing regressions