When merms attack, the frame of their attack animation in which they actually do the animation is very delayed when compared to the frames where the animation shows the punch happening. Pigmen don't have this problem, but merms have had it for as long as I remember.
Spawn a merm. Attack it. Observe the animation and observe when you take damage.