Fix order of our img load listener

According to the fine folks at Stack Overflow, IE9 will be happier if we
set the load handler before setting the src.
http://stackoverflow.com/questions/4776670/should-setting-an-image-src-to-data-url-be-available-immediately