I presume that you have AC mains at a frequency of 60Hz. This has a voltage peak 120 times/second and fast acting lights will give flashes at this frequency and I do not see how these can be removed.
Small flourescent lights rectify the mains, smooth it slightly, and chop it up at high...