Fix a bug in the quad tree and rename QTBox accessors