J.J. Barea's layup with 3.6 seconds left gave the Timberwolves (4-3) a 98-96 lead but Smith, who got the ball out of a timeout, launched his shot in the final second. It hit the rim and fell in as the horn sounded.