Fixes a bug relating to the new switch to performance.now(). Apparently, the value returned from this function is NOT consistent with the value of the parameter that is available within the callback to requestAnimationFrame.