This was a problem with the code for the cookie consent banner which is provided to us by a third party. We reported the problem to them and they confirmed it was a problem on their end that they were working on. I haven't seen the problem myself again recently but if anyone is still seeing it, let me know.