Apologies, the maximum randomly generated value should be fade_width-1 (and similarly...
Hopefully attached the correct patch this time (should use NUVIE_RAND_MAX).
Use of rand() in FadeEffect::pixelated_fade_core