UI,Trees and object errors and bugs

Title: UI, Trees and object errors and bugs

Summary:
every so often an object either just appears or gets placed down and i cannot pick it up. the second bug i am getting is objects that are placed down never get picked up, and occasionally objects will want to place that i do not have and leave a shadow
Steps to reproduce:

  1. tried to pick up but wont
  2. happens at random
    3)cant reproduce on demand

Expected Results:
did the un pick up command and re pick up
Actual Results:
still cant pick up or still get the error and the shadows wont go away
Notes:
all of these problems happen at random and i cant reproduce on demand. they do not break the game but it makes things not neat and it really really really bothers me.

Error Message:
develop-2720 (x64)
Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
TypeError: Cannot read property ‘indexOf’ of undefined
at null._updateMaterial (http://radiant/stonehearth/ui/game/unit_frame/unit_frame.js:112:43)
at applyStr (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:19689:29)
at sendEvent (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:14610:13)
at notifyObservers (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17805:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17637:7)
at chainsDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17733:9)
at propertyDidChange (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:17636:7)
at set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:18093:25)
at exports.default.Mixin.create.set (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:32739:9)
at Object. (http://radiant/stonehearth/ui/root/js/stonehearth/view.js:136:21)
Attachments:



Versions and Mods:
develop - 2720 no mods
System Information:
8 Core, 16G ram, 3G video

A fix for this bug has already been created and will be a part of the next release. See
http://discourse.stonehearth.net/t/unusable-gliched-objects/18015?u=jomaxro