Restore images properly in RichEditText.