Fixed problem of incorrect board size