Fix placeholder bug with insertImage.