I don't think the game really allows for discretion calls/ref mistakes; it's possible the game doesn't calculate where the puck is in this situation, but where the tip of the blade is in relation to the crossbar?
Don't be sad, this is just how it works out sometimes