Fixed flipping the board if player is black