Added check for windUpTime and animationTime to prevent nil cases.