Use RequestAnimationFrame to display FPS