I agree with Mark. If a ball drains, the flippers are disabled. So you could have a switch in your trough that thinks a ball entered, but when a PF switch is hit, might cause weirdness. Definitely start with your ball trough on switch test. I am wondering if you have a opto that is flickering.