Try switching to the joint editor so you can see where the bones are located. If the leg bones are out of alignment, they can cause distortions like those. You can fix/tweak the bone positions manually using the joint editor or automatically by navigating to edit->figure->rigging and clicking 'adjust rigging to shape'.