Made npcs stop when they intersect with the player.