Editor: When using JSONLoader use first material directly if materials array has only one item.