Might be, unfortunately I have no clue what scripts you are using, what order they are in, or a definitive answer as to when it occurs. This makes it pretty much impossible to give you any type of help with the matter.
If you uploaded a project, and maybe got a better idea how to make it reoccur, I might be able to help. If you could even get an idea, like it "it happens 1 out of every 10 times I do this:", it would help tremendously.