Small raycast fix.