fixed ie8 image resizing issue