Goran Dragic hit a clutch floater with six seconds left to earn the Miami Heat a 113-112 win against the Indiana Pacers.