Might be the jumping mechanic's fault, the timing on it can be pretty finnicky, and sometimes can get you stuck in a tile's loop, punching should let you get out of there as long as you don't run at the same time.
Don't worry, been planning out a full remake on the side and I'm def doing away with the hazard tiles for this exact reason