Add support for contextual BG color

Some operations (such as border radius creation) may expose the image
background.