-Fix transparency calculations