I saw that when the board was repainting, it would be offset in the game window a little bit. So all I did was make sure that that  was centered again