Workaround for unsupported per-pixel translucency

setBackground() throws an UnsupportedOperationException if per-pixel
translucency isn't supported and alpha is less than 1.0.

This should fix issue #230.