Fixed diagonal win check issue.