test: fix broken Safari 6 animation bugs