Add animationFrameFlush.