Fixed a setupEntityLightingGrid bug.