Fixes error icon swap

Current behavior always fails the check for img existance. Incorrectly using "this" instead of "addLink" as context node.

Target the correct parent to find and swap img src attr.