nonmovingSweep already clears the bitmap in the sweep loop. There is no reason to do so a second time.