Bbox calculation fixed.