Fixed error when loading saved scene with collect nodes.