fix bug for IE8 shake