Fix errors in "draw_cell_contents"