bugfix in AABB.extend