The dog attack left the five-year-old in hospital