Minimal fix to renderCell