Fix bug while computing pointcloud bounds.