Fixing image reset issue in the save method of the base node plugin class.