fixed getBoundingBox bug