Removes preferred definition so a new wallpaper is selected.
Also, just in case, check for division by 0.
When the screen resolution changes, a new wallpaper has to be chosen
but this is not happening unless we remove the preferred definition.
This depends on https://git.reviewboard.kde.org/r/129118/ to be accepted.