A Jackson, Miss. toddler was shot accidentally after her mother’s gun went off in a hospital emergency room.

The bullet grazed the 2-year-old girl’s face, leaving a superficial wound, according to USA Today.

The gun, which was in the mother’s purse, went off after the mother dropped the purse while standing by a vending machine, according to a Merit Health Central hospital spokeswoman. The bullet ricocheted off the machine and hit the child.

“This morning, an isolated incident involving the accidental discharge of a visitor’s weapon occurred on our campus,” hospitals officials said in a statement. “It was addressed quickly, preventing serious harm to the patient and risk to others in the hospital.”

Weapons are not allowed at the hospital, and a police investigation is ongoing to determine if the mother will be charged with a crime.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.