Fix "Open In Browser" bug on mac osx