Fixed ckeditor error when target element does not exist