If zoom==1, apply metadata only to visible image, if not, to selection. Fixes #8772