Fix to make multiple opacities on an object work.