No, it's the fact that the background illumination was bright enough to register an image of the moving subjects, albeit a blurry image, at the aperture and shutter speed you selected to record the background. The flash froze the foreground image, but in the areas where the background was light enough, the motion blur of the subject was visible. Granted, you could use second curtain flash to make the blur appear to be behind the motion, but you won't be able to get rid of it entirely. You might be able to reduce it substantially with a faster shutter speed up to the sync speed of your camera or by using high speed sync on the flash at shutter speeds above the sync speed of the camera.