Extended the delay for to give more time for autoResize after adding an image.