Fix for when importing or duplicating actors, as reported in #1

Fix for when importing or duplicating actors, as reported in #1