Weirdest thing, just found this thread after a quick search...
I've left my sunroof tilted open several times when its rained and a handful of those times the sunroof will act-up afterwards--- it'll open and close but the auto function won't work so i gotta hold the button down; the problem is its tricky to get it to fully close without trying to tilt open or slide back..
Here's the strange part-- the damn thing has fixed itself every single time, and the auto function will start working as it should, probably just dries out or hears me yelling profanities
Seems to be like the low idle sometimes-- it just fixes itself