Professor McGonagall dropped the Sorting Hat onto her head, and barely a second after it had touched