fixed bug where changing board dimensions could make the board draw in the wrong place