fixed the spinner problem in webkit browsers