Ensure inline style methods that modify the style cause the animation to reapply

Modifying inline styles on animated elements would cause the animations to reapply all style changes.
Inline style methods that caused a modification to the style were not performing the same behaviour.
This patch fixes this problem and ensures that animations are reapplied on the next frame or before a call to getComputedStyle().