The duck is classified as an outside agency; there is no penalty if a moving ball hits an outside agency and the ball is then played as it lies - which in your case may or may not have been within the margins of the hazard depending on where the stakes were.
Pleased to hear the duck was OK.
