Socket Relative Position During Animation


I have a small blueprint which gets the socket location on my weapon and lerps to a location when aiming down sights. However, when i’m in the walking animation there is weapon sway. When I ADS during the sway animation the weapon is no longer aligned with the crosshair.
(ADS whilst not moving)
Screenshot 2022-10-11 175013
(ADS whilst moving)
Screenshot 2022-10-11 174932
(During the run animation)

Is there some way of fixing this? Is this method not viable with these kinds of animations?

Any help would be useful, thanks.