Don't trace refracted ray in case of total internal reflection.