fix delete from left through paragraphs and images error