Fixes bug in GridImageAdapter.redraw()