Fix transparency for avatar and npc backgrounds