The window has several adjustments inside of the door panel...The dealer techs will know how to do this...
The panel could be out of position. It should fit inside of slots. My guess is they didn't install it correctly when going back togther.
ASE CERTIFIED MASTER AUTO TECHNICIAN
MERCEDES SPECIALIST 11 YRS