This should fix bug #7957.  The legend will now be below the image.