My first thought would be a faulty dimmer switch since the headlight switch only controls the power to the dimmer switch. The only other thing I can think of is a bad ground enabling one bulb to bleed through the other one.