Fixed rare crash when an item is destroyed while being transformed.
Merge branch 'master' into cutting-edge