A seven-year-old boy has been injured in a tram accident