Fix bug when using open Windows explorer in Windows 7