Fixed a bug during render cells