bugfix in isTransparentForShadowRays feature