Fixed some bugs in bounding box computation.