Fixed bug when wysiwyg is unexpectedly remove from DOM