The visibility tool doesn't work the way it's supposed to

For some reason when I use the visibility tool it makes a whole chunk of the world have no texture and somtimes takes of the collision off of the are I put it to.