There is a bug with collisions in my game

I had to check for myself.