LED Matrix glitchy pixels and it stays on after unplugging

I am using the code from

https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/blob/master/examples/2_PatternPlasma/2_PatternPlasma.ino

and the matrix is https://www.waveshare.com/rgb-matrix-p2-64x64.htm

Power supply is set to 5V 5A

Wiring should be correct: