Fixes light going through walls.

See https://github.com/tgstation/-tg-station/pull/5972 and https://github.com/tgstation/-tg-station/issues/2788.