Better background color handling for edge labels.