Hi.
i can see that the center of you flip is off, therefore it flips with the circle more than 50% inside the collider.
Some solutions are, right after flip, check with a overlap circle action, a little smaller than the wheel if its inside the floor, if so, move the wheel up a little (Sample : Get Position Y / add 0.3 / Set Position Y) then test again.
if not inside, continue.
adjusting the pivot for the pivot can also help so that the wheels stay around the same position.