Fix tie detection and array out of bounds when bottom of board tapped.