Quick fix to stop crash when creating entities from multiple other entities