MOSFET Switching without gate voltage / LED Strip
If your GPIO pins are not configured to output low, they'll be in an undefined state. A FET's gate takes effectively 0 input current, so the voltage on the gate will fluctuate arbitrarily, and may well lead to it being biased 'on'.

Add pulldown resistors to your circuit so that the switches default to off unless being driven by the Raspberry Pi.