Hey guys

I just wanted to give an update. I recently soldered the circuit onto a perfboard to check if the breadboard was causing any problems. I didn't solder the MOSFETs onto the perfboard yet, so that I could switch them out, to see if different ones make a difference.
When testing my perfboard, I noticed that the ghosting effect was just as present as with the breadboard.
But I finally got some different MOSFETs and tested them:
-The initial IRL540Ns still had the ghosting effect.
-New IRL540Ns (from a different seller) had the same result as the other FETs I tested (IRLR7843, IRLZ44N). They minimized the effect down to a point where I would say that it is acceptable and not really noticeable anymore. I could use this for my 8x8x8 project in the future. It is not perfect, but good enough.
-The BJTs I tested (BC337, 2N2222) still did the best job because the effect was the least visible when using them.