Fix for broken Chrome 24 animation

This fixes the issue where the animation breaks on Google Chrome 24.0.1312.56 (webkit)