Weird panel layout

Try inverting the clock with this option:
SMARTMATRIX_OPTIONS_ESP32_INVERT_CLK

Try adding 5v level shifters for the signals if you haven’t already

Try lowering the clock speed: