Minor layout fixes in MaterialsEditor widget.