Yep, your fault.
I broke my neighbor's garage window. His grandson and I were playing basketball together and when shooting, the ball hit his grandfather's garage window. Is it my fault, because we were both playing together on his hoop?
Even though it was an accident, you're the one who broke the window. Time to step up and take responsibility. Do the best you can to make it right.