PTS FlipBook Explosion make stop clipping walls

Hi,

Ive followed this tutorial:

so my flipbook explosion runs fine, but is there a way to stop the texture from clipping through the walls?

Thanks!