Hotfix in lighting calculation- prevents artefacts