Invisible glowing entities do not respect their team color
Possibly caused by the fix for MC-164163 and may be related to MC-166397.
How to reproduce
/team add red
/team modify red color red
summon minecraft:magma_cube ~ ~ ~ {Team: red, Glowing: true, ActiveEffects: [{Id: 14b, Amplifier: 0b, Duration: 500, Ambient: true, ShowParticles:0b}]}→
Notice how the mob is outlined in red for a split second before it becomes invisible and turns pure white