TextField fixes for canvas rendering