Work around for a crashing bug in WebKit for Mountain Lion and Lion