Fix light hanging in the light store bug