fix a bug when draging and droping file under yosemite