Fix for Bug #6942

While this bug is not going to break the program if it isn't fixed, if anyone wanted to add a legend with a descent > 0, the bounding box was not calculated correctly which led to letters like g and j to be cut off below the base line. 

... are not cut off from the legend title.