Fix bug getBounds() when collection is empty