Fix light buffer insert/erase.