Improved renderCell(int index) of the maps.