fix animation timer drift