fix for unnormalized ray directions in hair code on MIC