You guys are putting WAY too much analysis.
Take a look at the curvature of the window. Then take a close look at the curvature of the door. The window is simply too TALL to completely disappear into the door, since it has to go down in a straight path following nearly the same angle. To completely hide the window the glass would have to extrude past the door frame, or the window regulators would have to be microns thick.
EDIT: Image may not be ideal, since it's not taken of the door ajar STRAIGHT ON, so the perspectives are a bit messed up, but this should illustrate my point.