getNearestLeaf changed

A full quadtree visit is performed to get the active leaf closest to a
non-walkable point. The performance is significantly better.