It's not a bug. By giving other units shields, the unit is always "in combat" and thus doesn't start healing.