fixex a bug where lights were incorrectly added multiple times to visible list