I've had this issue as well and never use TexMod. I can't figure out a way to consistently reproduce it. It's very rare, very random. Typically the number zero is what glitches for me, for what that info is worth.
I chalked it up to a bug caused by ReShade/SweetFX, which I always use, but apparently not. It may exacerbate it, though.