Fixed a bug where animating to 0 would not work for rotation and scale.