Smoothing animation frames