For one of the puzzles, you are supposed to use the glitchy box mechanic to softlock you, so the glitchy block was intended(ish) from the look of it.