Keyframe not animating bone from initial position?
You need to set an initial keyframe for any animated data, including armature bones, in the first frame. The pelvis left bone is set to that position at frame 40, but because there's no keyframe before it, its position is interpolated all the way to the starting frame.