The striker is adjustable on the tub. (part the latch grabs)
Take a flash light and look at the latch as it touches the striker. It should be centered in the latch opening, if not it can be adjusted by loosening the bolts and moving it.
Also it can be moved back and forth to pull the gate in tighter if need be.
97 Sahara, 74 Renegade, 72 CJ5, 55 Willy's (the Beast) Boss 302, 6:34 gearing, Bose 901 speakers.
God I miss that Jeep. Forgot the kinda Jeep, 80 SX4.