Hi!
I encountered the same problem with my project on 5.2. The issue persisted on trees and foliage with SpeedTree wind and different custom winds as well.
The issue seems to be quite frequent but very much unsolved fully yet.
I’ve partially solved this issue on trees made in SpeedTree this way:
Change the transformPosition node inside of it source-> instance & particle space
Inside the same material function open speedtreebranchmotion function and there connect subtract node befor anchor input with input position(vector3) on top of it