fix requestAnimationFrame always being emulated

even when unnecessary