Fixed incorrect size calculation.

We need to parse the string ourselves to get the correct vertical size.
Don't use a name if none is specified.