Catch errors when loading an image for a node and set the image src back to its original