Fix ScatterSky flare occlusion

Replaces #1022 to fix #764.