I have experienced this bug on singleplayer worlds, even with multiplayer toggled off. It seems to become more noticeable on worlds with larger file sizes-- the world I was experiencing it on the most is over 100mb in size. I've noticed it appears to be directly tied to autosaving; for me, only occurs while the little autosave icon is present in the upper corner of the screen, or a few seconds before it appears.
I’ve found this bug as well while playing on the iPad version, so it’s apparently not just a bug for Windows.
Since the 1.21.72 hotfix update, this bug seems to be fixed for me on Nintendo Switch edition.