fix for incorrect Quad Tree bounds detection