Fix renderCell function for empty values

Ironically, this broke in all browsers from when I was fixing old IE.