Dad drove into wall with child in car after losing his tempe