fix uninitialized member in Light class