Added a patch for the wysihtml5 bug

Hopefully fixes the "cannot read property document of null" bug. It is
too difficult to reproduce to know for sure.