Hammer pin walking out?
Lack of J spring tension in the hammer or too small of an annular groove on the pin.
Since this is a 9mm, you don't want to deepen the annular grove in the pin since it will just cause it to snap faster.
If you can pull the J spring in the hammer, then you can retention it, remembering to re-stake it back in the hammer when you reinstall it (helps to taper point the leg of the spring to make sure it locks into the pin groove.
Or as other have pointed out, the KNS set.
Myself, since I have broken, and have seen way too many trigger/hammer pins broken on the 9mm rigs (read non ramped bolt), installing the KNS pins in the 9mm have become standard practice.
Note: unlike the c clips pins, the KNS pins do not rotate, and you don't end up with circle scraps on the receiver sides that the C clips can produce.