Camera Capture stops working with enclosure leds on

Everytime I try to use the camera capture with the enclosure leds on, it freezes. A350 with enclosure. Any solutions?

Turn off the leds?
Seems to work better only using the light on the toolhead anyway.

Thanks for the response. It just basically freezes the machine so you have to reboot it. Its annoying that things dont work as supposed,