If the pistol's firing pin made a fairly deep mark, it does not matter whether the mark is in the center, as long as it is in the primer (that is, in the small central circle).
It seems more likely that the ammunition was old and bad.
Don't try to change the angle of the firing pin. You will break something.
Either try new ammunition, or take the gun to a gunsmith to have it checked.