Here is a link to a ChordFiddle that demonstrates some inconsistent behavior as it relates to key changes.

It looks like chords are always normalized to the first key. I wouldn't have noticed if the normlization at least used the same modifier, but seeing the flat chord with a sharp root threw me.