#235 Fixed media duplication in wysiwyg