alter extent of collision detector by layer's buffer-size

Possible solution for https://github.com/mapnik/mapnik/issues/2517.