Are you using a dedicated GPU or the Intel HD 4600? Because Paper Mario uses bounding box and it doesn't play nice with Intel HD Graphics, probably the cause of your errors (you'll also get graphical glitches with some Mario abilities as you progress in the game)...
Avell A70 MOB: Core i7-11800H, GeForce RTX 3060, 32 GB DDR4-3200, Windows 11 (Insider Preview)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)
ASRock Z97M OC Formula: Pentium G3258, GeForce GT 440, 16 GB DDR3-1600, Windows 10 (22H2)