added support for translucent background