Sideways collisions not working

I am having some trouble with the collision on this little tetris game, the collisions are working with the blocks falling but not moving to the left and right, and therefore the blocks can end up moving and overlapping with the barriers (this also happens with the other blocks)

I’ve included the blueprint for the what should stop the blocks being able to move into the walls as well as a small clip of the problem.