moved maplight deletion out of RenderManager