The Detroit Pistons overcame a complete collapse late to beat the Heat thanks to a Chris Webber-timeout technical in the final second.