The inside of the window trim may or may not fit into the softtop brackets.
The brackets that came with my new top are not the same as the originals.
If they don't fit, then they could be keeping the window from shutting all the way.
Regardless, they are not needed for the window to stay shut.
IIRC, hardtop only jeeps didn't come with the brackets.