Fix issue when tapping on the clear button of a text field (the fields is not brought back into its initial position afterwards)

Thanks to Cédric Lüthi for this fix