My theory is that the bug happens when a scripted sequence tries to trigger and you are not in control of your own character. That's the only time it has happened to me. Most sequences boot you to your own char but I guess some don't and that happens. So to be safe play your own boring self.