Fixes issue with removing objects from scene that don't have materials (e.g. cameras).
Merge pull request #126 from saebyn/fix-object-removal

Fixes issue with removing objects from scene that don't have materials (...