fixed keyframe truncate bug