Fix capitalization in animateTime