There's a part inside called a "Shepherd's Crook", it's a wire retainer for the trigger and hammer pins- it rests in a groove on the pins, just inside the receiver on the left side. Most likely the shepherd's crook is on the wrong side of the raised ridge on the trigger pin, and not keeping it in place.
http://www.youtube.com/watch?v=vXjebSTAAPM