You may find that you need to move the top hinge in a bit,or the bottom hinge out a bit, if that doesnt work.
Put a index mark on the top of them, loosen the bolts slightly and, with the door open, lift the door untill the hinge moves in a little, ( top ), or out , ( bottom ), re-tighten.
Before you do this, get in the back of the car, and close a sheet of A4 paper in the top of it, and you may find its not trapped at all. ( i could see day light thropugh mine !! ).
Del.