Correct the animations for the input box