fix ipad not fire requestAnimationFrame