use bitmap/image for drawing since this is a bit faster. There is a bug when width is >1022 the cells are drawn with an offset.