canvas-redraw: canvas: bugfix for data which has only 1 item