IE9 has an annoying bug that prevents the onload event from firing for cached images. Here's how to fix that in one line of code, without any of the usual drawbacks.