support tight_bbox for pgf output, fixes #2342