Stray‐field‐induced modification of coherent spin dynamics