Glad you found the problem.
Had a VW that leaked up front (rubber seal, defroster vent in the cowl)...the water ran down into the fuse box and filled up two of the relays and popped a couple fuses. Car went crazy...nothing like sitting at the side of the road wondering WTF just happened and then realizing your feet are wet...the titanic sunk by a cloudburst.
The memories.