WARNING: This page is about a different car, the 2007 Nissan Pathfinder. However, it is still accessible from the selected car via links, so may be relevant.
Inspect then measure the gap and height difference between the glass lid assembly and roof panel; compare to specifications. Determine which procedure to follow based on results of measurements.
Fig 1: Checking Gap And Height Difference Between Glass Lid Assembly And Roof Panel