Bug fix in remove keyframe