Change QuadTree to insert shapes by their bounding boxes instead of inserting points.