This should be an easy bug to confirm, and isn't all too crucial to the game, but here's the layout:
→You have 1 card left in your deck.
→Your opponent has 7 cards in his hand (8 maximum)
→You play Shard of Bravery
→You deck out and lose.
This happened twice to me. I think it's registering as drawing two cards despite the fact you can only draw one.