fixed double adding of entities to scene layers