Quad tree should now work correctly