Fix animation overflow responsible for huge possible dezoom  on some browser.

https://twitter.com/Zoontek/status/448007509098643456