I seem to be having a problem with my rig. I've added Automatic Weights to my mesh, but for some reason, whenever I rotate or move the thigh or control root, the legs deform and split away from the torso. I'm not sure why this is happening. All my armature is parented correctly and the torso and legs are joined together via Ctrl + J. I even tried parenting them. Any ideas?
Here's my save: