Thanks all for the replies/thoughts. I took it to my mechanic yesterday and they were unable to diagnose after spending 4 hours on it. Luckily they didn't charge me for their time since they couldn't fix the problem. Turns out it's an aftermarket sunroof, not factory, so I need to bring it to the local installer who sells this product.