That's not technically true, nor a bug, in terms of the portrait. The portrait of the NPC in question is just the oldest NPC, and they are on the world map. Once they die, then it shifts to the next oldest. Since your portrait is not unique to you, if the new NPC happens to be using the same portrait as you, then that's what is happening there.
Hope that makes sense!