Question of Sevens

Ever notice how a wizard never seems to lose his hat? Explain that one, if you can …