Fix new REQUESTANIMATIONFRAME API (Issue #56)