I would check your ground wires. I don't know exactly where they are, but generally speaking, wierd electrical issues occur when there are bad grounds. I'm sure Google is your friend here and can help you locate chassis grounds for the 2003 Corolla. I'd start with that. Find the grounds and make sure they are clean and firmly connected.