by the time he got off most of the uncomfortable beard and trimmed his hair , overuse of magic left him gasping for breath , nearly blacking out , but looked much better before making the image vanish .