After some refactoring, the board wasn't switching color after a pass