Fix animation issue on input view