reqAnimFrame params changed slightly.