Small performance improvements in the hair shader