Animation no longer flickers

Fixed the animation flickering. Yay for MSDN!