backend_pgf: use the bounding box as clip rectangle (fixes #2586)