Fix for #377 Preload images not working for IE10.

Please integrate, thanks!