Partially fix the gradient and pattern selector images.
The gradient images still look funny, and the pattern images
have the same randering glitch that seems to be within qt, but this
is better than nothing.
(For the gradients, the problem is that the checkers are drawn on the image,
not by the selector.)