fixed the auto-sizing with the custom layout for the minesweeper board