Revise the bug in quadtree.