fixed bug where untracked materials were included in global auto-decay

This PR breaks the BuildingManagerTests for me.  Can anybody explain how it has any impact at all on the BuildingManagerTests?