Fix clipping and size calculation of compound labels.