Wrong P-MOSFET orientation
Flip it upside down, bend the pins (dangerous, they can crack), rotate and insert a small wire (blue) to connect the gate:

Fasten it with glue to prevent an ability to vibrate around the axis D-S.
If you happen to have more room it can be only shifted and rotated, but the gate wire is long:

Glue is even more important in this case.
I have no idea does the board space allow one of these. In addition check if there exists elsewhere good places to insert the mosfet so that at least 2 of the pins fit - for ex. the backside of the board? If the backside is free you may use version 1 without bending the pins, but you need wires through the board.
Finally: If no place which need only 1 wire exist, use more wires or scrap the original mosfets and find a part which has long wires.