The image onload handler does stuff that we used to do in the preload onload handler.