Don't apply the fringe effect if it's disabled, it fixes scr_screenshot_alpha and who knows what else
Test with
scr_screenshot_alpha 1 r_sky 0 screenshot testalpha.png
In master I get a completely transparent image, with my patch I get the correct image where only the sky is fully transparent: