fix annotation relinking onto images