fix globalBounds test