Test for image sizes in ie, fix #27