Sharper image without the edge artifacts

Hey, @hallatore, still can’t thank you enough for this, I have a small question, is there a way to make this work with a screen percentage that’s not 100? In editor at least, any value above or below creates an offset effect and breaks the sharpen on close objects, but still sharpens distant ones.

Before sharpen

After sharpen @ 100%

After sharpen @ 101% (no sharpen on the rock, new ghosting on the background trees)