Fixed a bug in the quad tree