fixed bug of render cells in range mode