LED Matrix glitchy pixels and it stays on after unplugging

There could be another reason - improper using of the library. Why didn't you write an issue on the library Github?