This is why you want to keep the lid on your powder and keep it a safe distance from any source of ignition. I’ve seen black powder shooters do this and so far everyone has been lucky that there were no serious injuries.
Be safe, think about what you are doing and what is around you.