Fixed some issues with SpanLabel.