create_entity() in createShadow() doesn't specify force, so it defaults to enemy. This causes issues with scripts looking for enemies, like scripted vehicles that then fire rockets at you and kill you repeatedly (yes, I'm a little bitter haha)
Fix is to add 'force = tracker.entity.force'