Fix image distortion on Firefox and IE