Any way to remove the thin halo on the edge of mountain/sky?

I noticed that you have a very high treshold in the defringe module. If you want it to remove more fringing, you should make the treshold lower, not higher.