Fixed NSOpenPanel bug