It seems like you are implying that casino's RNG tries to correct itself when it differs from the mean for long enough, but I have a hard time believing that, because that would create a very easy opportunity to get an edge for players, meaning that their expected value (EV) will turn into positive and they will be profiting from the game in a long run, while casino will be losing until they go bankrupt. So, either you have discovered a bug, or your sample size was actually too small to make such conclusions, and you are suffering from Gambler's Fallacy - thinking that the outcome has to flip to the opposite after a long streak of the same outcomes. Also, you shouldn't forget about the house edge - the game is not just higher than 50 or lower than 50, there is a dead spot somewhere it between 49 and 51 that will always be red.
Well- it is not the Gambler Fallacy- the numbers may have no memory, but a random generator does what is suppose to do- generate random numbers. You pull hundred thousand numbers from random.org for example and the average sum gonna be there. I don't believe it is a bug either. But as you say- the house edge is there.