Sanity check for map::apply_light_ray() to avoid lightmap hangs.
Apply transparency effects on horizontal-dominant rays as well.
Stupid error is stupid.
Merge PR #1442 - lightmap fixes