I just found an answer as to what to do.
Adding the GetRNGstate(); and PutRNGstate(); statements solves the problem.
I am still unsure why this default behavior is desirable.