`AnimationLoop` currently sleeps for 16ms in between each frame. The actual delay should be 16ms at most