Electrum ingots you find in loot work correctly with gilding, so it is not a bug. The issue I found out, and maybe others have noticed, is that those ingots are yellow and very similar to gold ingots, whereas those you create by smelting are reddish (more like copper). I wonder if this is intended. It is anyway aesthetically a bit awkward.