Fixed little typo with cancelAnimationFrame

Haven't compiled it though.