Undo not working well with image viewers

Undo is only supposed to undo things in the same program, not across programs.

Earlier thread on the same subject:

Sequential Undo not being the default is intentional. It's discussed here (and a few other threads):