Fix a bug when opening single files in ST3.