Hello @GGbeng1
The situation looks similar to this one: Canvas content disappears when switching tabs - #9 by hufei
That thread describes the issue that is related to Chrome version. Please make sure that you are using v.125+
Please let us know the result.