Fix overlayed theme attribute lookup in ShadowResources