Harry's invisibility cloak was a hallow, and it was a "real" one, so how could Dumbledore stupefy Harry on top of the lightning tower in Half-Blood Prince? How did Dumbledore and Hargrid know that Ron and Harry were in Hagrid's place, if they used the invisibility cloak?