[DF-1260] Fixed crash with changing of light type property.