Timberwolves overcome mistakes to top Panthers