Slightly modified fix for #622 based on https://github.com/cefsharp/CefSharp/pull/626