Use `t.step_timeout` to avoid `t.step_func` wrapping
diff --git a/svg/animations/scripted/onhover-syncbases.html b/svg/animations/scripted/onhover-syncbases.html
index 0772601..de757f3 100644
--- a/svg/animations/scripted/onhover-syncbases.html
+++ b/svg/animations/scripted/onhover-syncbases.html
@@ -20,7 +20,7 @@
   let rounds = 5; // How many times the cursor is moved in and out
   let circle = document.querySelector("#circle");
   let delay = 20;
-  let f = t.step_func(function() {
+  function f() {
     assert_equals(window.getComputedStyle(circle, null).fill,
       "rgb(255, 0, 0)")
     if (rounds-- == 0) {
@@ -29,14 +29,14 @@
     }
 
     circle.dispatchEvent(new Event("mouseover"));
-    step_timeout(t.step_func(function() {
+    t.step_timeout(function() {
         assert_equals(window.getComputedStyle(circle, null).fill,
           "rgb(0, 255, 0)")
         circle.dispatchEvent(new Event("mouseout"))
         t.step_timeout(f, delay);
-    }), delay);
-  });
-  step_timeout(f, 0);
+    }, delay);
+  }
+  t.step_timeout(f, 0);
 });
     </script>
   </body>