This gets rid of what's visible behind the board when it's not full-screen width, but causes a lot of flashing. Better will be to make board.c own an entire rectangle and to decide board dimensions itself.