I have had fitment issues with hard doors on various jeeps over the years. Tubs and door openings seem to move a little over the years. It looks like the gap between the windshield frame and the front of the door frame is wider at the top than the bottom and of course the same is true at the back of the door to the tube. The window frame placement is a little sloppy naturally depending upon the gasket under the frame to the cowling, but it is easy to pull the frame back hard as needed then tighten the hold downs. Not a big deal with a soft top but more problematic with a hardtop. The trick I have used in the past to adjust door fitment is to loosen the door hinges then place a piece of cardboard over the door threshold to act as a spacer. Close the door hard as see how it fits. If OK, tighten up the hinges with the door still in place.