Fixed dirty flag on Light