Workaround for image annotations displaying in the wrong place because they are attached before images have loaded