Well, it’s not the crystal body that attracts noise, but it’s the trace between the crystal and the DS1307 needs to be surrounded by ground trace. You can even solder the crystal directly onto the lower left two pins of DS1307, to hopefully reduce the trace length.