Material overlay and world position offset

Hello,
I am trying to use overlay material on objects in my world. It works well until I apply it on something using world position offset in the base material, for example a tree moving in the wind. In that case the overlay doesn’t follow the underlining offset which basically duplicate the object, one moving in the wind from the base material and another static from the overlay material.
Ideally I would like to a way for the overlay material to follow the base material offset. Currently the only solution I see is to move everything to the base material and stop using overlay material feature.
Is there a way to retrieve and reapply the world position offset of the underlining material ?