Just watched the highlights and it can be seen that Shearer did not make contact with Burns. Can't blame the assistant for flagging, would have been easily fooled but, does show that neither of the two goals should have happened.
If Shearer had stayed on his feet and covered his near post the chance of a clear shot would not have been available.