Minor bug fix in LightningEffect