Problem with Chromium requestAnimationFrame