hotfix requestanimationframe