Fix weird no refresh gif bug on IE9