Added debugging code to trace error in keyframe view animation.