Bug 828531; fix scaling CSS pixels for animations; r=roc,a=leo+