Correcting the lightAssigment parameters