Fix FileList~select index bug