From the medical point of view, machine leg extensions are highly controversial due to the strain placed on the patella. It is the only way to work the vastus internus.
Stretch your quadriceps after the workout to increase the length of the rectus femoris which tends to pull the pelvis forward.