Dont try to draw cells outside the valid range