Collision problem in rolling ball template

It’s not getting stuck it is passing through it