Do not calculate intersection twice in case of transparent surfaces.