Fixed conditional compile flags for logging/fixing keyframe animations