Fixed problem with transparency. Added support for multiple backgrounds