Fixed null reference in missing variable on prefab