Fix bug with recomputing groups of opponent blocks and the edge.