I found that the rubber seal around the inner part of the front sun roof was letting in excess water , so took it out and siliconed it. It looks as if the water sitting in the channel was getting too high and working its way through the edge of the rubber where it meets the frame. This seems to have cured it.