Fix a graphical bug when N > 20