Correct animation time