Fix resetting animation properties