Thanks - this helped me as well for a project I am doing. Indeed I also beleave AppScript has a bug with a PositionedImage, if the the PositionedImage is inserted at the very last paragraph, it seems to duplicate the image. Adding this buffer paragraph has resolved the issue for me