it's because u parented the pole vector for the knee to the wrong joint therefore it's getting double transformations. i would recommend using a sc ik for legs.