Fix positioning of span labels