Fix bug where invalid marked cells were "opened" automatically by a nearby empty cell being clicked.