The reason it is happening is you have limited space for your text field. You can put your text field into a sized box and set height to the sized box to make sure it has sufficient space for the text field and error text.