Restore properties after animation