Making sure nothing is generated inside of a wall.