Okay, didn’t know that. I ran new tests using the same image and a copy of it and it works properly.
It’s possible that my earlier replacements were different in size, even perhaps by a pixel.
Thanks for responding and thanks for a very useful plugin.