The reality is that a PIC I/O's can be indeterminate on Power-On. Set the I/O's as one of the first things you do when you Power-On your PIC. Leaving them set to input (high impedance) may be enough to trip your circuitry.