Add an additional options in Spatial framework tab to calculate bounding box using Convex or Concave hull algorithm.