fix wallpaper out of memory bug