Fixed bug that was causing incorrect flipped normals and ray offsets.