I believe that almost all issues with the sunroof leaking have to do with the drain holes being plugged/clogged. Try opening the sunroof all the way, and sticking your head through the sunroof and see if you can locate the drain holes and make sure they aren't clogged. After unclogging, take a small amount of water (from a glass or something), and pour it into the trough and see if it drains correctly.