Throttle RequestAnimationFrame in subframes that are outside the viewport