It does happen sometimes.....no need to be too hard on yourself.
One thing that does help, sometimes anyway, is changing the needle after drawing up the injection and giving the shot with the new needle. Plus, it hurts less.
Some kids just bleed more anyway, but it probably wasn't as much as it looked like.