Attach to Component Issue

Hi Everyone! I’m new to UE4 BP and I’m trying to attach a sword to a spawned skeletal mesh.

As the image shows, the sword does get attached to the socket. The problem is every time AttachtoComponent Runs, it shifts the spawn to its relative left at fixed time intervals (e.g. one shift per second.) When I removed socket input in the component (set it to none), the unwanted movement is gone; though naturally the sword gets attached to the skeletal mesh’s origin due to lack of socket input. Not quite sure how to stop this unwanted movement.

Target input is the sword.
Parent input is the skeletal mesh of the spawn.

Tried changing snap to target, relative, world…etc settings and it all resulted in the illustrated unwanted movement. Only by setting socket to ‘None’ the unwanted movements are gone.