If I'm correct this is intended. If a material (with a certain name) is present in your current model and you place a block that also contains a material with the same name it'll be replaced with the material of the current model.