Window repaints when an image is selected so that the user can see the
image when it is loaded.