I frequently encounter situation, when avisynth drops frames, that leads to desynchronization of overlays.
Please, consider small sample:
Compressing src-avisynth-vdub.avi