Fixed animation problem.