Temporal Anti-aliasing problem in 5.2

Hi! Since we switched to version 5.2 from 5.0 we have a problem with the water shader (SingleLayerWater Shader). Temporal AA makes these awful artifacts. These are not video compression artifacts, but it looks like they are. They were not in the previous version of Unreal. How to fix this artifacts but need to keep the Temporal AA?
Unreal Engine 5 2023-05-22 - 20-01-39-01