handle bbox adjustment in tight_bbox based on backend/canvas
backend_pgf: use the bounding box as clip rectangle (fixes #2586)