Fix ie9 image onload bug

I have fixed the Internet Explorer 9 Image onload bug.