Some fixes on TextField.