MOSFET has constant current
Shunt Vgs with R1 to turn off. Never leave floating.

Also , FYI, Keep power + and return - paths close together as in paired wires or twisted wires and never in a large loop as shown in a "logic diagram".