Fix legend contrast, resolves #96