The easiest way is to remove the discolored edges is by cutting or shaving it off to eliminate the discolored pigment transferring to your painting.