Fixes a crash due to missing unique map init when creating a new instances