Fixed opacity settings for black

Hi there, please can this branch be considered for merging?  Bug 10174.