I think the only way you are going to trouble shoot this situation is to carefully measure voltages at all involved points under various conditions (i.e., switch on, switch off, etc), and then to think it thru to see "what's wrong with this picture (i.e., the voltages you found)".