Hi. First of all I found the MAYBE bug and will put in the work to report it properly.
Secondly I was confused. I said before that I tried to change their Z index and I actually did not.
What I did was change Z elevation by mistake.
I now have changed the Z index and everything is normal again, therefore I believe the bug is in the load section where it changes Z index arbitrarily.
Another reason to believe this is a bug is because I never in my code change Z index of anything so I don't believe there should be a reason for them to load incorrectly.
Will mark as [SOLVED]
Thanks for the support.