Fixes ShadowTexture inheritance and related change (className == Texture and className == 'ShadowTexture') processing