Client partially displaying

After starting the server, the client side displays a board, although the dimensions of the board are flipped and the pieces are not displayed completely.