Delete square figures(buggy)