The loading gate spring isn't holding the gate to the rear. Looking at both pics, you can tell the spring is in the same place regardless of where the loading gate is (correctly to the rear, or forward).
Whether you send it to Ruger or do it yourself, the spring needs to be replaced or the...