Actually, that gave me an idea. Since only some shapes stopped accepting connections, simply creating a new shape (in my case, a rectangle) and transferring all the connectors to that shape worked. Then, delete the old shape. Don't copy the old shape, as you'll probably be copying the same problems.