If I understand the issue correctly, you are seeing a different training behavior of the model if you compare section 1 vs. section 2 where both sections are running exactly the same operations?
If so, then no this behavior is not expected.
Could you post a minimal, executable code snippet reproducing this behavior, please?