Fix new REQUESTANIMATIONFRAME API