Fix animation issues.