Fix for label height

When the label width would change (for example due to an orientation
change) the label height was not calculated correctly.