I don't know this is bug or not, but with a Shift pressed I can jump over the wall.
I have no clue how to fix that issue, it always annoys me
Try to use the physical movement of the player when jumping, not "teleportation"