The girl was taken to hospital with minor injuries