Sorry, Shane. My mistake. I forgot that you had 2020 even though you mention it clearly in your original post.
Given that the song plays ok when set to key B at the start, and not ok when you have a section set to B, this might be a bug if the behaviour is consistent and reproducible.
Can you please let me know what style you are using and I'll set a chord sheet and see if I can get the problem to occur.
It would also be handy to know what chords you are using.
Regards,
Noel