Fix #22625: SOE in ImageViewer
This was fallout from reworking #21605 -- originally the code did not use equals. Since it now uses equals, RemoteEntry either needed to be the same (for object equality) or have an implemented equals method.