Fix compilation error in GetBounds implementation.