Fixed display bug when searching files