Fixed issue with JS errors in IE8 when trying to animate a rotated data label. Closes #1821.