As it can be seen, the macro running in the background does not work properly as expected and works when run later. Also, when I report this as a bug, the following error occurs.