Update rain pixels to use own global variable