I created a simple animation in Animate CC, where a rectagnle moves diagonally in a scene, using a shape tween.
In the exported animation, the rectangle also rotates, but only in the preview. When I upload it, the animation is correct, and the preview also becomes correct.