Player colliding with an object they should not when jumping

So I am working on making an invisible barrier that is only supposed to affect a ball and ignore the player. The purpose of the barrier is to make sure the ball stays in the play area.

It almost works as intended, the player can walk through the barrier and the ball can’t, but when the player jumps they can jump on the barrier and I have no clue why.

Here is a gif of how it looks

And here is my physics settings

Thanks to anyone who read through this and has any clue on what I am doing wrong