PGF backend: Fix vertical positioning of multi-line text

This addresses issue #3000. The horizontal aligment is maintained, but for multi-line text the vertical alignment is applied manually in a similar way to the SVG backend.