Welcome to the forum, you have encountered the dreaded tolerance stacking, not all manufactures produce factory OEM specifications. As a result not all parts play well together ,it can be difficult to determine just where the problem lies, if it were me the first thing I would look at is the firing pin safety and the fit of the safety plunger in the hole for it.
Is the replacement slide coated, if it is I would clean all of the coating off any surface that has interference fit with any other part, slide rail slots.track for the connector,safty plunger hole, anything that has interference fit with any other part.
I have come to the conclusion that it's far more effective to have your OEM slide milled to what you need than sourcing a after market slide and trying to get it to play nice with your lower.