fix spinner does not spin issue in some browsers