Drawing the browser control to a bitmap is somewhat unreliable. I think it would be better to just screenscrape your window.
using (Bitmap bitmap = new Bitmap(bitmapSize.Width, bitmapSize.Height, PixelFormat.Format24bppRgb))
using (Graphics graphics = Graphics.FromImage(bitmap))
{
graphics.CopyFromScreen(
PointToScreen(webBrowser1.Location),
new Point(0, 0),
bitmapSize);
bitmap.Save(filename);
}